package com.hbnu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("student_21")
public class Student {

    @TableId(type = IdType.AUTO) //表明id
    private Integer id;
    @TableField("stu_no")
    private String stuNo;
    private Integer age;
    private String sex;
    private String college;
    private String profession;
    @TableField("class_no")
    private String classNo;
    private String remarks;
}
